<?php defined('SYSPATH') or die('No direct script access.');   $symbol = Currency_Tool::symbol(); ?>
<div class="travel-container">
    <h3 class="travel-tit">行程及订单内容</h3>
    <table class="travel-table">
        <tr>
            <td width="80" bgcolor="#ccc">产品名称</td>
            <td colspan="3">{$order['productname']}</td>
        </tr>
        <tr>
            <td width="80" bgcolor="#ccc">产品编号</td>
            <td >{$order['series']}</td>
            <td width="80" bgcolor="#ccc">预订套餐</td>
            <td>{$order['suitname']}</td>
        </tr>
        <tr>
            <td width="80" bgcolor="#ccc">出团日期</td>
            <td>{$order['usedate']}</td>
            <td width="80" bgcolor="#ccc">行程天数</td>
            <td>{$order['line']['lineday']}天{$order['line']['linenight']}晚</td>
        </tr>
        <tr>
            <?php $people4_name = Model_Sysconfig::get_configs(0,'cfg_line_people4_name')['cfg_line_people4_name'];?>
            <?php $people5_name = Model_Sysconfig::get_configs(0,'cfg_line_people5_name')['cfg_line_people5_name'];?>
            <?php $people6_name = Model_Sysconfig::get_configs(0,'cfg_line_people6_name')['cfg_line_people6_name'];?>

            <td width="80" bgcolor="#ccc">参团人数</td>
            <td>{php}echo $order['oldnum']+$order['dingnum']+$order['childnum']+$order['people4_num']+$order['people5_num']+$order['people6_num'];{/php}人（其中成人{$order['dingnum']}人，小孩{$order['childnum']}人，老人{$order['oldnum']}人，{$people4_name}{$order['people4_num']}人，{$people5_name}{$order['people5_num']}人，{$people6_name}{$order['people6_num']}人）</td>
            <td width="80" bgcolor="#ccc">单房差</td>
            <td>{php}echo $order['roombalance']*$order['roombalancenum'];{/php}</td>
        </tr>
        <tr>
            <td width="80" bgcolor="#ccc">收费标准</td>
            <td colspan="3">
                成人：{$symbol}{$order['price']}/人，
                老人：{$symbol}{$order['oldprice']}/人，
                儿童：{$symbol}{$order['childprice']}/人，
                <?php
                if($people4_name && $order['people4_num']){
                    echo $people4_name." : ".$symbol.$order['people4_price']."/人，";
                }
                ?>
                <?php
                if($people5_name && $order['people5_num']){
                    echo $people5_name." : ".$symbol.$order['people5_price']."/人，";
                }
                ?>
                <?php
                if($people6_name && $order['people6_num']){
                    echo $people6_name." : ".$symbol.$order['people6_price']."/人，";
                }
                ?>
                单房差：{$symbol}{$order['roombalance']}/人</td>
        </tr>
        <tr>
            <td width="80" bgcolor="#ccc">优惠</td>
            <td>{$symbol}{$order['privileg_price']}</td>
            <td width="80" bgcolor="#ccc">合计</td>
            <td>{$symbol}{$order['payprice']}</td>
        </tr>
    </table>

    {if !empty($tourer)}
    <h3 class="travel-tit" style="margin-top: 20px">旅客信息</h3>
    <table  class="travel-table">
        {loop $tourer $k $v}
        <tr>
            <td bgcolor="#ccc">旅客{$k+1}:</td>
            <td>{$v['tourername']}</td>
            <td>{$v['sex']}</td>
            <td>{$v['cardnumber']}</td>
            <td>{$v['mobile']}</td>
        </tr>
        {/loop}
    </table>
    {/if}
</div>
